package com.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.pojo.entity.Travel;

import java.util.List;

public interface TravelService extends IService<Travel> {
    Page<Travel> getTravelPage(Integer currentPage, Integer pageSize, String tag);

    void addTravel(Travel travel);

    void deleteTravel(Long id);

    void deleteTravels(List<Long> ids);
}
